{% extends 'base_pages/base.html' %}

{% block title %}
{{_("User Info")}}
{% endblock %}

{% block header %}
<h1>{{_("User Info")}}</h1>
{% endblock %}

{% block content %}
<form action="{{ url_for('user_info') }}" method="post">
    <label for="username">{{_("Username:")}}</label>
    <input type="text" id="username" name="username" value="{{ current_user.username }}" required><br><br>
    <label for="password">{{_("New Password:")}}</label>
    <input type="password" id="password" name="password" required><br><br>
    <input type="submit" value="{{_('Update')}}">
</form>
{% endblock %}